package routers

import (
	"gitee.com/ao-iot/ao-iot-core/plugins-project/hepeichun/web/controllers/index"
	"github.com/gin-gonic/gin"
)

var routers = make(map[string]map[string]gin.HandlerFunc)

func init() {
	routers = map[string]map[string]gin.HandlerFunc{
		"GET": {
			"/": index.Get,
		},
		"POST": {},
	}
}

func Get() map[string]map[string]gin.HandlerFunc {
	return routers
}
